<template> 
    <el-form  label-width="120px"> 
         <el-form-item label="默认颜色">  
            <el-color-picker v-model="item.value"></el-color-picker>
        </el-form-item>
        <el-form-item  label="是否禁用："> 
         <el-radio v-model="item.ui.readonly" :label="true">是</el-radio>
         <el-radio v-model="item.ui.readonly" :label="false">否</el-radio> 
        </el-form-item>
         <el-form-item> 
            <el-button @click="handerClick">关闭</el-button>
        </el-form-item> 
    </el-form>

</template>

<script>
export default {
  props: ["item"],
  name: "colorpickitem",
  methods: {
    handerClick: function() {
      this.$emit("hclick");
    }
  }
};
</script>

